package com.joy.web.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.joy.web.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjzhao
 * @since 2019-09-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_resource")
public class Resource extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String resourceName;

    private String resourceEname;

    private String type;

    private String url;

    private String parentId;

    private String permission;

    private Integer sort;

    @TableField("iconCls")
    private String iconCls;

    private String code;

    /**
     * 是否显示
     */
    private Boolean isShow;


}
